<?php echo $this->load->view('meta');?>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="js/jquery.cycle.lite.1.0.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    $('#picture_block').cycle();
});
</script>

<script type="text/javascript" language="JavaScript">
	$(document).ready(function() {
		$("a.noclick").click(function() {
			return false;
		});
	});
	
	
	
	var myService;
	var feedUrl = "http://www.google.com/calendar/feeds/4lngffqnu21ev4nnkc0roa3s6k%40group.calendar.google.com/public/basic";

	function setupMyService() {
  		myService = new google.gdata.calendar.CalendarService('ChiAlpha-Raleigh-Events');
  		
	}

	function getMyFeed() {
	  setupMyService();
	  myService.getEventsFeed(feedUrl, handleMyFeed, handleError);
	}
	
	function handleMyFeed(myResultsFeedRoot) {
		var d = new Date();
		strMin = d.getFullYear() + "-" + d.getDate() + "-" + (d.getMonth()+1);
		//alert(strMin);
		var startMin = google.gdata.DateTime.fromIso8601('2008-01-01T00:00:00.000-08:00');
		var startMax = google.gdata.DateTime.fromIso8601('2008-07-01T00:00:00.000-08:00');
		//alert("This feed's title is: " + myResultsFeedRoot.feed.getTitle().getText());
	}

	function handleError(e) {
	  alert("There was an error!");
	  alert(e.cause ? e.cause.statusText : e.message);
	}
	
	
	
	
</script>
<title>Chi Alpha at NCSU and Meredith</title>
<?php echo $this->load->view('header'); ?>

<div id="attention_banner" class="right_content">
    See the video from Spring Break Makeover '11 <a href="<?php  echo site_url()?>xa/makeover"> here.</a>
</div>

<div id="who" class="right_content">
	<div id="picture_block">
    	<img src="<?php echo site_url("/templates/fall2009/img/homepage_slideshow/img1.jpg")?>" height="232"/>
    	<img src="<?php echo site_url("/templates/fall2009/img/homepage_slideshow/img2.jpg")?>" height="232"/>
    	<img src="<?php echo site_url("/templates/fall2009/img/homepage_slideshow/img3.jpg")?>" height="232"/>
    	<img src="<?php echo site_url("/templates/fall2009/img/homepage_slideshow/img4.jpg")?>" height="232"/>
    	<img src="<?php echo site_url("/templates/fall2009/img/homepage_slideshow/img5.jpg")?>" height="232"/>
    	<img src="<?php echo site_url("/templates/fall2009/img/homepage_slideshow/img6.jpg")?>" height="232"/>
	</div>
	<p>Chi Alpha Christian Fellowship is a ministry to the students at North Carolina State University and Meredith College in Raleigh, NC.
		We invite you to see what we're doing on campus and to join in.  Lifegroups and our large group meeting are the core of what we do.
		<!-- We'll also be having a lot of events in August and September to meet new people. --> <?php echo anchor('xa/contact', 'Let us know')?> if you have any questions.
	</p>
</div>


<div id="second_section" class="right_content">
	<div id="this_week" class="box">
        <ul class="float_right" style="background-color: #C3ACA4; padding: 0.5em">
            <li><a href="<?php echo site_url()?>xa/events/largegroup"><span>Large Group </span>Talley 3118 @ 7:30 PM</a></li>
            <li><a href="<?php echo site_url()?>xa/lifegroups"><span>Life Groups</span>Click for times and locations </li></a>
<!--            <li class="last"><a href="<?php echo site_url()?>xa/events/cafe"><span>cafe xa (FREE FOOD!)</span><?php echo $info_cafe?></a></li> -->
        </ul>
	</div>

	<div id="upcoming" class="quick">
		
		<!--
		<ul class="float_left" style="background-color: #C3ACA4; padding: 0.5em">
			<li>End of Year Party - Sat April 30th</li>
			
		
		</ul>
		-->
		
		<iframe src="https://www.google.com/calendar/embed?mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23c3aca4&amp;src=4lngffqnu21ev4nnkc0roa3s6k%40group.calendar.google.com&amp;color=%23c3aca4&amp;ctz=America%2FNew_York" style=" border-width:0 " width="715" height="600" frameborder="0" scrolling="no"></iframe>

	<!--	
		<ul class="float_left" style="background-color: #C3ACA4; padding: 0.5em">
			<li><b>Live Week</b> - Nov 29 - Dec 3.  Join other Christians from different campus ministries as we lift up our campuses in prayer!  More info <u><a href="<?php  echo site_url()?>xa/liveweek "> here.</a></u> </li>
			<li><b>Christmas Party</b> - Dec 4 7pm - Come out for a wacky, fun, and all around awesome Christmas party!</li>
			
		
		</ul> -->
	</div>
</div>


<?php echo $this->load->view('footer');?>
